package com.tanhua;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Description: test
 * @Create by: JJ菜菜
 * @Date: 2021/12/1 12:28
 */

@SpringBootApplication
@EnableAsync   // 开启异步调用
@EnableTransactionManagement
public class MongoAppilcation {

    public static void main(String[] args) {
        SpringApplication.run(MongoAppilcation.class, args);
    }
}
